package com.example.huadi1.service;

import com.example.huadi1.utils.AjaxResult;
import com.example.huadi1.utils.Request.SinglePageRequest;
import com.example.huadi1.utils.Request.PageRequest;
import com.example.huadi1.utils.Request.IntList;
import org.springframework.stereotype.Component;

@Component
public interface DepartmentService {
    AjaxResult getDemandById(PageRequest pageRequest);
    AjaxResult confirmById(IntList intList);
    AjaxResult getAllDemand(SinglePageRequest singlePageRequest);
    AjaxResult rejectDemandById(IntList intList);
    AjaxResult acceptDemandById(IntList intList);
    AjaxResult initDemand();
}
